package com.glsc.ngateway.common.api.flowable.dto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class CreatedTaskInfoDto implements Serializable {

    @ApiModelProperty(value = "任务定义key")
    private String taskDefinitionKey;
    @ApiModelProperty(value = "任务名称")
    private String taskName;
    @ApiModelProperty(value = "任务id")
    private String taskId;
    @ApiModelProperty(value = "任务待办人")
    private String assignee;
    @ApiModelProperty(value = "任务待办人姓名")
    private String assigneeName;
    @ApiModelProperty(value = "是否完成，0未完成1已完成")
    private String status;

    public String getTaskDefinitionKey() {
        return taskDefinitionKey;
    }

    public void setTaskDefinitionKey(String taskDefinitionKey) {
        this.taskDefinitionKey = taskDefinitionKey;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getAssigneeName() {
        return assigneeName;
    }

    public void setAssigneeName(String assigneeName) {
        this.assigneeName = assigneeName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "CreatedTaskInfoDto{" +
                "taskDefinitionKey='" + taskDefinitionKey + '\'' +
                ", taskName='" + taskName + '\'' +
                ", taskId='" + taskId + '\'' +
                ", assignee='" + assignee + '\'' +
                ", assigneeName='" + assigneeName + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
